package com.example.day6;

import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class Main2Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        SharedPreferences aaa = getSharedPreferences("welcome", MODE_PRIVATE);
        SharedPreferences.Editor welcome = aaa.edit();
        welcome.putBoolean("isdone",true);
        welcome.commit();
    }
}
